package com.whp.yky.yky.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.whp.yky.yky.entity.poentity.Person;
import com.whp.yky.yky.entity.poentity.User;
import com.whp.yky.yky.entity.voentity.VoUser;

import java.util.List;

public interface UserService {

    public boolean insertUserInfo(User user);
    public IPage<User> getUserInfo(IPage<User> page , User user);

    public boolean updateUserInfo(User user);

    public boolean deleteUserInfo(int id);

    public User login(User user);

    public User getUser(User user);

    public Person getPersonInfo(int id);

    public boolean updatePersonInfo(Person person);

}
